Skip to content

chore: adopt planning-convention (fresh adopt at v1.0.0)#20

Merged
lesnik512 merged 2 commits into
mainfrom
chore/adopt-planning-convention
Jun 26, 2026
Merged

chore: adopt planning-convention (fresh adopt at v1.0.0)#20
lesnik512 merged 2 commits into
mainfrom
chore/adopt-planning-convention

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Applies lesnik512/planning-convention to this repo as a fresh adopt at v1.0.0 (no prior planning/.convention-version), following the canonical APPLY.md flow.

What landed

  • Verbatim copies (canonical-owned): planning/index.py, planning/_templates/{change,design,plan,decision,release}.md.
  • Convention prose: planning/README.md — portable Quick-path + Conventions, with repo-local ## Index / ## Other sections and a pointer to .convention-version.
  • Scaffolding: planning/{changes,decisions,releases}/, planning/deferred.md, architecture/README.md (states the promotion rule).
  • Justfile: new index and check-planning recipes; lint-ci now runs planning/index.py --check.
  • CLAUDE.md: ## Workflow pointer to the Quick path + the architecture/ promotion reminder.
  • Version recorded: planning/.convention-version = 1.0.0.

Applied CHANGELOG delta

  • v1.0.0 — initial extraction: validator + index, lean frontmatter (date/slug derived from names), Quick-path on-ramp, _templates/, and the architecture/ promotion rule.

Verification

  • just check-planningplanning: OK
  • just lint-ci → passes (eof-fixer, ruff format/check, ty, planning validator)

🤖 Generated with Claude Code

lesnik512 and others added 2 commits June 26, 2026 11:36
Apply lesnik512/planning-convention as a fresh adopt:

- Copy planning/index.py and planning/_templates/* verbatim from the
  canonical repo.
- Add planning/README.md with the portable Quick-path + Conventions prose
  plus repo-local Index/Other sections.
- Scaffold planning/{changes,decisions,releases}/, planning/deferred.md, and
  architecture/README.md (promotion rule).
- Justfile: add `index` and `check-planning` recipes; run the validator as a
  lint-ci step.
- CLAUDE.md: add a Workflow pointer to the Quick path and the architecture/
  promotion reminder.
- Record applied version in planning/.convention-version (1.0.0).

Verified: `just check-planning` prints `planning: OK`; `just lint-ci` passes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author one architecture/ file per public capability, grounded in the current
source, following the modern-di architecture/ layout:

- retry.md, connections.md, dsn.md, transaction.md, settings.md
- architecture/README.md: capability index + promotion rule
- CLAUDE.md: ## Architecture becomes quick orientation + a symbol→file table
  pointing at architecture/ as authoritative

Corrects two CLAUDE.md inaccuracies while promoting the prose:
- target_session_attrs is overwritten by build_db_dsn from use_replica (dict
  union); honoring a pre-existing value happens in build_connection_factory.
- Transaction.__aexit__ always closes the session, in addition to the
  in-transaction auto-rollback.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit 157d277 into main Jun 26, 2026
2 checks passed
@lesnik512 lesnik512 deleted the chore/adopt-planning-convention branch June 26, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant